﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Page.aspx.cs" Inherits="分页_Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <p>


        <asp:Button ID="Button3" runat="server" Text="测试分页语句" onclick="Button3_Click" />
    </p>
    <p>
        <asp:Button ID="Button2" runat="server" Text="上一页" onclick="Button2_Click" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" Text="下一页" onclick="Button1_Click" />


    </p>
    <p>
        <asp:Label ID="Label1" runat="server" Text="总页数"></asp:Label>
        <asp:Label ID="Label3" runat="server" Text=""></asp:Label>
        <asp:Label ID="Label2" runat="server" Text="当前页数"></asp:Label>
        <asp:Label ID="Label4" runat="server" Text=""></asp:Label>
    </p>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="true">
    </asp:GridView>
    </form>
</body>
</html>
